package com.etime.perfectschool.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("newscomments")
public class NewsComments {
    @TableId("newsCommentsId")
    private int newsCommentsId ;
    private String newsCommentsContent;
    private int newsId;
    private int id;
    @TableField(exist = false)
    private User user;
}
